<template>
    <div class="page flex-col">
        <div class="group_1 flex-col">
            <div class="section_1 flex-col">
                <div class="box_1 flex-col">
                    <div class="box_2 flex-col">
                        <div class="grid_1 flex-row">
                            <div class="image-text_1 flex-col justify-between" v-for="(item, index) in data.loopData0"
                                :key="index">
                                <div class="image-wrapper_1 flex-col" :style="{ background: item.lanhuBg1 }">
                                    <img v-if="item.slot2 === 2" class="label_1" referrerpolicy="no-referrer"
                                        src="https://lanhu.oss-cn-beijing.aliyuncs.com/pspjdfaoygj29h1e4eumqanvcrs55blhuu0faf916b-26f3-48bd-b8be-429a7facf217" />
                                    <img v-if="item.slot1 === 1" class="label_2" referrerpolicy="no-referrer"
                                        style="text-align:center
                                                                                                                                                                                                                                                                                                                                            "
                                        :src="item.specialSlot1.lanhuimage0" />
                                </div>
                                <span class="text-group_1" v-html="item.lanhutext0"></span>
                            </div>
                        </div>
                    </div>
                    <div class="box_3 flex-row justify-between">
                        <div class="group_2 flex-col"></div>
                        <span class="text_1">人气商品</span>
                        <div class="group_3 flex-col"></div>
                    </div>
                    <img class="image_1" referrerpolicy="no-referrer"
                        src="https://lanhu.oss-cn-beijing.aliyuncs.com/psuh6ilounp8m6grbu9ycu2nb9zvnn7rt178f241e34-75c4-4353-9650-7aed858136e7" />
                    <div class="box_4 flex-row justify-between">
                        <div class="box_5 flex-col"></div>
                        <div class="box_6 flex-col"></div>
                    </div>
                </div>
                <div class="box_7 flex-col">
                    <img class="image_2" referrerpolicy="no-referrer"
                        src="https://lanhu.oss-cn-beijing.aliyuncs.com/pszik99odripj3k43zitipqba98y71taqch4c05f7a6-7c2a-44c0-a2b6-303d347d6caa" />
                    <div class="block_1 flex-row justify-between">
                        <div class="group_4 flex-row">
                            <!-- <div class="box_8 flex-col"> -->
                            <!-- <div class="section_2 flex-col"></div> -->
                            <!-- </div> -->
                            <!-- <svg class="icon" aria-hidden="true">
                                <use xlink:href="##icon-sousuo"></use>
                            </svg> -->
                            <i class="iconfont icon-sousuo"></i>
                            <div class="sousuo">
                                <input type="text" class="text_2" placeholder="输入搜索关键词">
                            </div>
                        </div>
                        <div class="group_5 flex-col justify-between">
                            <img class="label_3" referrerpolicy="no-referrer"
                                src="https://lanhu.oss-cn-beijing.aliyuncs.com/psgwkobrb7xbt1v8r48bvqlryyhgaea84q83273a8b-5e6c-4cf6-86f2-5d9e941ce007" />
                            <span class="text_3">扫一扫</span>
                        </div>
                    </div>
                    <div class="block_2 flex-row justify-between">
                        <span class="text_4">热搜:</span>
                        <div class="box_9 flex-row justify-between">
                            <div class="text-wrapper_1 flex-col">
                                <span class="text_5 text__">面膜补水</span>
                            </div>
                            <div class="text-wrapper_2 flex-col">
                                <span class="text_6 text__">进口零食</span>
                            </div>
                            <div class="text-wrapper_3 flex-col">
                                <span class="text_7 text__">夏季衣服</span>
                            </div>
                            <div class="text-wrapper_4 flex-col">
                                <span class="text_8 text__">果汁饮料</span>
                            </div>
                        </div>
                    </div>
                    <div class="block_3 flex-row">
                        <!-- <div class="box_10 flex-col"></div>
                        <div class="box_11 flex-col"></div>
                        <div class="box_12 flex-col"></div> -->
                        <luobu :data="loopData0"></luobu>
                    </div>
                </div>
                <xia></xia>
                <!-- <div class="box_13 flex-row">
                    <div class="image-text_2 flex-col justify-between">
                        <span class="iconfont icon-18 "></span>
                        <span class="text-group_2">首页</span>
                    </div>
                    <div class="group_7 flex-col justify-between">
                        <i class="iconfont icon-fenlei"></i>
                        <span class="text_9">分类</span>
                    </div>
                    <div class="group_13 flex-col">
                        <i class="iconfont icon-gouwuchekong"></i>
                        <span class="text_10">购物车</span>
                    </div>
                    <div class="group_15 flex-col justify-between">
                        <i class="iconfont icon-wode"></i>
                        <span class="text-group_3">我的</span>
                    </div>
                </div> -->
            </div>
        </div>
    </div>
</template>


<script setup>
import xia from "./components/xia.vue"
import luobu from "../luobu.vue";
import { reactive, ref } from "vue"
const data = reactive({
    imgs: [

    ],
    loopData0: [
        {
            lanhuBg1:
                'url(https://lanhu.oss-cn-beijing.aliyuncs.com/ps9e134q61umnsmref4nivkl9agbxw7lkr3af6e0de-4a8c-4e0a-ba20-2044bd691c59) 100% no-repeat',
            lanhutext0: '美妆个护',
            specialSlot1: {
                lanhuimage0:
                    'https://lanhu.oss-cn-beijing.aliyuncs.com/psv0iu1ozjmirlxe7htnxgii26ej6sb2hjb6498b619-8512-4837-a620-6355721fc8ba',
            },
            slot1: 1,
        },
        {
            lanhuBg1:
                'url(https://lanhu.oss-cn-beijing.aliyuncs.com/pspose6046hfy8weliwq9ajwai95s9cxon429998a2-c283-4926-9513-2c34ccdcb842) 100% no-repeat',
            lanhutext0: '母婴用品',
            specialSlot1: {
                lanhuimage0:
                    'https://lanhu.oss-cn-beijing.aliyuncs.com/psrjjm4qjf008g0icn5hkbxkifpt144hle70a93657-e3d1-41f2-acca-cc4603355200',
            },
            slot1: 1,
        },
        {
            lanhuBg1:
                'url(https://lanhu.oss-cn-beijing.aliyuncs.com/ps5q3vtugiv6dfe8wzovfzbsfl3nbiwm5se4926739-6fed-4c3c-89cd-0777317a2677) 100% no-repeat',
            lanhutext0: '潮流服饰',
            specialSlot1: {
                lanhuimage0:
                    'https://lanhu.oss-cn-beijing.aliyuncs.com/psn9251djngkcs5nzxfnp1jxa4p3dzu3br78599aee-7a44-4df1-8158-a3baeff8ce86',
            },
            slot1: 1,
        },
        {
            lanhuBg1:
                'url(https://lanhu.oss-cn-beijing.aliyuncs.com/psx7ual1l5jm7c7f7zgas8byeq5ek8wc3e529ca49-e12e-49c5-9255-6a0f25c7b865) 100% no-repeat',
            lanhutext0: '跨境购',
            specialSlot1: {
                lanhuimage0:
                    'https://lanhu.oss-cn-beijing.aliyuncs.com/pszt2l5bjbz6hkol7ah1h8eh7eckgtcxba0965d1c-07cc-408a-ac9a-362c2fca1eac',
            },
            slot1: 1,
        },
        {
            lanhuBg1:
                'url(https://lanhu.oss-cn-beijing.aliyuncs.com/ps6hw5eieh2sb8p4zx60fhvfd7w7nxi1toce9fb2668-33d8-459f-ad1b-fa06a02caa17) 100% no-repeat',
            lanhutext0: '手机数码',
            specialSlot1: {
                lanhuimage0:
                    'https://lanhu.oss-cn-beijing.aliyuncs.com/pshe5s55i5srtpr9q27vq5cov0k9376ipvjd8abeb5a-ed63-4192-baf4-4f8a51012209',
            },
            slot1: 1,
        },
        {
            lanhuBg1:
                'url(https://lanhu.oss-cn-beijing.aliyuncs.com/ps9gkifqj54rw3227cbm6tegnzt9xgoa9a93b824d0-9d96-44ff-83b4-e7dca457d7e2) 100% no-repeat',
            lanhutext0: '居家日用',
            specialSlot1: {
                lanhuimage0:
                    'https://lanhu.oss-cn-beijing.aliyuncs.com/ps250uuu9jb7pmkz58kbht0s9cgk0xslplia9c2da83-dc62-4ba8-9ffb-66936cdfb7fa',
            },
            slot1: 1,
        },
        {
            lanhuBg1:
                'url(https://lanhu.oss-cn-beijing.aliyuncs.com/ps7bcvvr8jyugwv90d540mk1dxqusho1hw4b52564e-b439-4848-b73e-1a689651b25e) 100% no-repeat',
            lanhutext0: '玩具乐器',
            specialSlot1: {
                lanhuimage0:
                    'https://lanhu.oss-cn-beijing.aliyuncs.com/psj317qdsagd9467woubbeslbbd4p5booh1954ca4b-d401-431d-98a8-10c57cb8bac3',
            },
            slot1: 1,
        },
        {
            lanhuBg1:
                'url(https://lanhu.oss-cn-beijing.aliyuncs.com/ps1acayxuv7l6hcz9mqmb3aol8jxwjpxbicd8d1bf8f4-4968-4f76-a01d-196bf0c31947) 100% no-repeat',
            lanhutext0: '更多',
            slot2: 2,
        },
    ]
})

</script>


<style lang="scss" scoped>
.icon-fenlei {
    font-size: 30px;
}

.icon-18 {
    font-size: 30px;
}

.icon-gouwuchekong {
    font-size: 30px;
}

.icon-wode {
    font-size: 30px;
}

.page {
    // position: relative;
    width: 100%;
    height: 1334px;
    overflow: hidden;
}

.group_1 {
    height: 100%;
    background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/psbg8ufmrsf7sq5gmcb62pcyg3ve8j7wa1723b0b3-da61-4b96-bbd0-f6c0ffbcda1b) 100% no-repeat;
    background-size: 100% 100%;
    width: 750px;
}

.section_1 {
    height: 100%;
    background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/ps2svxqsgcfkd67gk8iwg9zh6gmlfe4vpuo08052b88-3a5f-498e-b8f0-1d2fc4fe1f96) 100% no-repeat;
    background-size: 100% 100%;
    width: 100%;
    // position: relative;
}

.box_1 {
    width: 100%;
    // height: 952px;
    // margin-top: 383px;
    height: 100% !important;
}

.box_2 {
    background-color: rgba(255, 255, 255, 1);
    border-radius: 10px;
    height: 354px;
    width: 690px;
    margin: 200px 0 0 30px;
    position: relative;
    top: 330px;
}

.grid_1 {
    width: 618px;
    height: 295px;
    display: flex;
    flex-wrap: wrap;
    margin: 28px 0 0 36px;
    position: absolute;
}

.image-text_1 {
    // width: 93px;
    width: 15%;
    height: 124px;
    margin: 0 82px 43px 0;
}

.image-text_1:nth-child(4n) {
    margin-right: 0;
}

.image-text_1:nth-last-child(-n + 4) {
    margin-bottom: 0;
}

.image-wrapper_1 {
    height: 82px;
    background-size: 100% 100%;
    margin-left: 10px;
    width: 82px;
}

.label_1 {
    // margin: 20px;
    margin-top: 30%;
    margin-left: 5%;
}

.label_2 {
    // margin: 20px;
    margin-top: 30%;
    margin-left: 5%;
    margin-bottom: 5px;
}

.text-group_1 {
    width: 96px;
    height: 23px;
    overflow-wrap: break-word;
    color: rgba(153, 153, 153, 1);
    font-size: 24px;
    font-family: SourceHanSansCN-Regular;
    font-weight: NaN;
    text-align: center;
    white-space: nowrap;
    line-height: 24px;
    margin-top: 19px;
}

.box_3 {
    width: 181px;
    height: 27px;
    margin: 43px 0 0 284px;
    position: relative;
    top: 297px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.group_2 {
    background-color: rgba(51, 51, 51, 1);
    width: 20px;
    height: 4px;
    margin-top: 12px;
}

.text_1 {
    width: 109px;
    height: 27px;
    overflow-wrap: break-word;
    color: rgba(51, 51, 51, 1);
    font-size: 28px;
    // font-family: SourceHanSansCN-Regular;
    // font-weight: NaN;
    // text-align: left;
    // display: flex;
    white-space: nowrap;
    // line-height: 112px;
    // margin-left: 16px;
}

.group_3 {
    background-color: rgba(51, 51, 51, 1);
    width: 20px;
    height: 4px;
    margin: 12px 0 0 16px;
}

.image_1 {
    width: 750px;
    height: 1px;
    margin-top: 36px;
}

.box_4 {
    width: 689px;
    height: 311px;
    margin: 31px 0 1px 29px;
    position: relative;
    top: 260px;
    align-items: center;
    display: flex;
}

.box_5 {
    background-color: rgba(255, 255, 255, 1);
    border-radius: 10px;
    width: 330px;
    height: 311px;
    border: 1px solid rgba(238, 238, 238, 1);
}

.box_6 {
    background-color: rgba(51, 51, 51, 1);
    border-radius: 10px;
    width: 330px;
    height: 311px;
}

.box_7 {
    position: absolute;
    left: 0;
    top: 0;
    width: 750px;
    height: 383px;
    background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/psl3mq9b23mcrwsjmj4b7mh870zivgu3zk275e4c8a-fa96-4a3d-87f5-dc3483a2a569) 100% no-repeat;
    background-size: 100% 100%;
}

.image_2 {
    width: 727px;
    height: 20px;
    margin: 11px 0 0 6px;
}

.block_1 {
    width: 693px;
    height: 61px;
    margin: 35px 0 0 32px;
    display: flex;
}

.group_4 {
    background-color: rgba(255, 255, 255, 1);
    border-radius: 30px;
    width: 627px;
    height: 61px;
    display: flex;
    align-items: center;
}

.box_8 {
    border-radius: 50%;
    height: 23px;
    border: 2px solid rgba(178, 178, 178, 1);
    width: 23px;
    margin-left: 15px;
    // margin: 16px 0 0 29px;
}

.section_2 {
    border-radius: 1px;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(178, 178, 178, 1);
    margin: 16px 0 0 17px;
}

.text_2 {
    width: 540px;
    height: 61px;
    overflow-wrap: break-word;
    color: rgba(153, 153, 153, 1);
    font-size: 28px;
    font-family: SourceHanSansCN-Regular;
    font-weight: NaN;
    text-align: left;
    line-height: 27px;
    margin: 16px 20px;

    border: none;
}

.group_5 {
    width: 52px;
    height: 57px;
    margin-top: 2px;
}

.label_3 {
    width: 34px;
    height: 30px;
    margin-left: 12px;
}

.text_3 {
    width: 52px;
    height: 18px;
    overflow-wrap: break-word;
    color: rgba(255, 255, 255, 1);
    font-size: 18px;
    font-family: SourceHanSansCN-Regular;
    font-weight: NaN;
    text-align: left;
    white-space: nowrap;
    line-height: 50px;
    margin-top: 9px;
}

.block_2 {
    width: 650px;
    height: 43px;
    margin: 23px 0 190px 35px;
    display: flex;
    align-items: center;
}

.text_4 {
    width: 100px;
    height: 27px;
    overflow-wrap: break-word;
    color: rgba(255, 255, 255, 1);
    font-size: 28px;
    font-family: SourceHanSansCN-Regular;
    font-weight: NaN;
    text-align: left;
    line-height: 27px;
    margin-top: 2px;
}

.flex-col {
    text-align: center;
    margin-bottom: 5px;
}

.box_9 {
    width: 580px;
    height: 43px;
    display: flex;
}

.text-wrapper_1 {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 21px;
    height: 43px;
    width: 130px;
}

.text_5 {
    // width: 96px;
    // height: 23px;
    // overflow-wrap: break-word;
    color: rgba(255, 255, 255, 1);
    font-size: 24px !important;
    // font-family: SourceHanSansCN-Regular;
    font-weight: NaN;
    text-align: left;
    line-height: 23px;
    margin-top: 10px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    // margin: 7px 0 0 17px;

    // span {
    //     // display: inline-block;
    //     // width: 100%;
    //     text-align: center;
    // }
}

.text__ {
    // width: 96px;
    // height: 23px;
    // overflow-wrap: break-word;
    color: rgba(255, 255, 255, 1);
    font-size: 24px !important;
    // font-family: SourceHanSansCN-Regular;
    font-weight: NaN;
    text-align: left;
    line-height: 23px;
    margin-top: 10px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.text-wrapper_2 {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 21px;
    height: 43px;
    margin-left: 17px;
    width: 130px;
}

.text_6 {
    // width: 95px;
    // height: 23px;
    // overflow-wrap: break-word;
    color: rgba(255, 255, 255, 1);
    font-size: 24px;
    // font-family: SourceHanSansCN-Regular;
    font-weight: NaN;
    // text-align: left;
    line-height: 23px;
    // margin: 7px 0 0 17px;
}

.text-wrapper_3 {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 21px;
    height: 43px;
    margin-left: 17px;
    width: 130px;
}

.text_7 {
    // width: 95px;
    // height: 24px;
    overflow-wrap: break-word;
    color: rgba(255, 255, 255, 1);
    font-size: 24px;
    // font-family: SourceHanSansCN-Regular;
    // font-weight: NaN;
    // text-align: left;
    line-height: 24px;
    // margin: 7px 0 0 17px;
}

.text-wrapper_4 {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 21px;
    height: 43px;
    margin-left: 17px;
    width: 130px;
}

.text_8 {
    // width: 95px;
    // height: 24px;
    overflow-wrap: break-word;
    color: rgba(255, 255, 255, 1);
    font-size: 24px;
    font-family: SourceHanSansCN-Regular;
    font-weight: NaN;
    text-align: left;
    line-height: 24px;
    // margin: 7px 0 0 17px;
}

.block_3 {
    background-color: rgba(255, 255, 255, 1);
    border-radius: 10px;
    position: absolute;
    left: 30px;
    top: 215px;
    width: 690px;
    height: 288px;
    justify-content: flex-center;
    // border-radius: 15px
}

.box_10 {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 12px;
    height: 12px;
    margin: 266px 0 0 301px;
}

.box_11 {
    background-color: rgba(255, 255, 255, 1);
    border-radius: 5px;
    width: 39px;
    height: 12px;
    margin: 266px 0 0 14px;
}

.box_12 {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 12px;
    height: 12px;
    margin: 266px 299px 0 13px;
}

.box_13 {
    position: absolute;
    left: 0;
    top: 1234px;
    width: 750px;
    height: 100px;
    background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/psg76t8fhrkwmhodmj7sy7omu3rz6zxlrm1d4bbad1-c052-40ab-94bd-50b101816e31) 100% no-repeat;
    background-size: 100% 100%;
    justify-content: flex-center;
    display: flex;
}

.image-text_2 {
    width: 39px;
    height: 70px;
    margin: 18px 0 0 64px;
}

.group_6 {
    height: 37px;
    background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/ps5zrus7m5cgj8ke4z6qjsqwcwrvknlik5b10c026-19d8-42cd-bb5f-5188492e68d6) 100% no-repeat;
    background-size: 100% 100%;
    width: 39px;
}

.box_14 {
    background-color: rgba(255, 67, 68, 1);
    border-radius: 1px;
    width: 19px;
    height: 3px;
    margin: 21px 0 0 10px;
}

.text-group_2 {
    width: 36px;
    height: 17px;
    overflow-wrap: break-word;
    color: rgba(255, 0, 21, 1);
    font-size: 20px;
    font-family: 59--Regular;
    font-weight: NaN;
    text-align: left;
    white-space: nowrap;
    line-height: 34px;
    margin-top: 16px;
}

.group_7 {
    width: 49px;
    height: 68px;
    margin: 19px 0 0 152px;
}

.group_8 {
    width: 49px;
    height: 34px;
}

.box_15 {
    border-radius: 50%;
    height: 32px;
    border: 3px solid rgba(25, 17, 11, 1);
    width: 32px;
}

.group_9 {
    border-radius: 1px;
    width: 15px;
    height: 15px;
    border: 3px solid rgba(25, 17, 11, 1);
    margin: 24px 0 0 23px;
}

.box_16 {
    width: 16px;
    height: 32px;
    margin-top: 2px;
}

.group_10 {
    border-radius: 1px;
    width: 16px;
    height: 3px;
    border: 3px solid rgba(25, 17, 11, 1);
}

.group_11 {
    width: 12px;
    height: 3px;
    border: 3px solid rgba(25, 17, 11, 1);
    margin: 12px 0 0 4px;
}

.group_12 {
    width: 10px;
    height: 3px;
    border: 3px solid rgba(25, 17, 11, 1);
    margin: 11px 0 0 6px;
}

.text_9 {
    width: 36px;
    height: 16px;
    overflow-wrap: break-word;
    color: rgba(25, 17, 11, 1);
    font-size: 20px;
    font-family: 59--Regular;
    font-weight: NaN;
    text-align: left;
    white-space: nowrap;
    line-height: 34px;
    margin: 18px 0 0 5px;
}

.group_13 {
    width: 56px;
    height: 62px;
    margin: 25px 0 0 144px;
}

.section_3 {
    height: 17px;
    background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/ps88ii7ldltalvhm9jybuvbayc7o8sws5bpbfbf0667-fa47-4225-8988-b07e67f6b49d) 0px -1px no-repeat;
    background-size: 33px 18px;
    margin-left: 9px;
    width: 33px;
}

.section_4 {
    height: 10px;
    background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/pssftnvxarkpewafv5md1vifq6hgdn84rp7c25c914-cff2-4dc9-8e5d-a09959166360) 100% no-repeat;
    background-size: 100% 100%;
    width: 9px;
    margin: -8px 0 0 -6px;
}

.group_14 {
    width: 6px;
    height: 3px;
    border: 3px solid rgba(25, 17, 11, 1);
    margin-left: -1px;
}

.section_5 {
    width: 29px;
    height: 11px;
    margin: 2px 0 0 11px;
}

.block_4 {
    border-radius: 50%;
    width: 11px;
    height: 11px;
    border: 3px solid rgba(25, 17, 11, 1);
}

.block_5 {
    border-radius: 50%;
    width: 11px;
    height: 11px;
    border: 3px solid rgba(25, 17, 11, 1);
}

.text_10 {
    width: 56px;
    height: 16px;
    overflow-wrap: break-word;
    color: rgba(25, 17, 11, 1);
    font-size: 20px;
    font-family: 59--Regular;
    font-weight: NaN;
    text-align: left;
    white-space: nowrap;
    line-height: 34px;
    margin-top: 16px;
}

.group_15 {
    width: 36px;
    height: 71px;
    margin: 17px 63px 0 147px;
}

.section_6 {
    border-radius: 50%;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(25, 17, 11, 1);
    margin-left: 9px;
}

.image-text_3 {
    width: 36px;
    height: 52px;
    margin-top: 3px;
}

.image_3 {
    width: 32px;
    height: 18px;
    margin-left: 1px;
}

.text-group_3 {
    width: 36px;
    height: 17px;
    overflow-wrap: break-word;
    color: rgba(25, 17, 11, 1);
    font-size: 20px;
    font-family: 59--Regular;
    font-weight: NaN;
    text-align: left;
    white-space: nowrap;
    line-height: 34px;
    margin-top: 17px;
}

:deep(.icon-sousuo) {
    font-size: 30px;
    margin-left: 15px;
}
</style>
  